package com.ruoyi.huanghefd.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.huanghefd.domain.AttachsheetOs;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.huanghefd.utils.PageBean;

/**
 * 作业安全风险控制卡 服务
 */
public interface AttachsheetOsService extends IService<AttachsheetOs> {
    /**
     * @Author gnplum
     * @Description //新增 作业安全风险控制卡
     * @Date 9:35 2023/10/31
     * @param attachsheetOs
     * @return com.ruoyi.huanghefd.domain.ResultWS
     **/
    AjaxResult addAttachsheetOs(AttachsheetOs attachsheetOs);

    /**
     * @Author gnplum
     * @Description //删除 作业安全风险控制卡
     * @Date 15:18 2023/10/31
     * @param strAsCode
     * @return com.ruoyi.common.core.domain.AjaxResult
     **/
    AjaxResult delAttachsheetOs(String strAsCode);

    /**
     * @Author gnplum
     * @Description //修改 作业安全风险控制卡
     * @Date 16:24 2023/10/31
     * @param attachsheetOs
     * @return com.ruoyi.common.core.domain.AjaxResult
     **/
    AjaxResult uptAttachsheetOs(AttachsheetOs attachsheetOs);

    /**
     * @Author gnplum
     * @Description //查询 作业安全风险控制卡
     * @Date 9:39 2023/10/31
     * @return com.ruoyi.huanghefd.domain.Worksheet
     **/
    AjaxResult queryAttachsheetOss(String strAsCode, String strAsState,String strUserId,String strMailType);
    /**
     * @Author gnplum
     * @Description //查询 作业安全风险控制卡 分页
     * @Date 16:07 2024/1/3
     * @param strAsCode
     * @param strAsState
     * @param strUserId
     * @param strMailType
     * @param pageNum
     * @param pageSize
    * @return com.ruoyi.huanghefd.utils.PageBean
    **/
    PageBean queryAttachsheetOssByPage(String strAsCode, String strAsState, String strUserId, String strMailType, int pageNum, int pageSize);

}
